package com.project.service.Impl;

import com.project.mapper.OrderCopyMapper;
import com.project.pojo.Ordercopy;
import com.project.service.OrderCopyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderCopyServiceImpl implements OrderCopyService {
    @Autowired
    OrderCopyMapper orderCopyMapper;
    @Override
    public Ordercopy getOrderCopyById(int orderid) {
        return orderCopyMapper.getOrderCopyById(orderid);
    }

    @Override
    public int updateById(Ordercopy ordercopy) {
        return orderCopyMapper.updateById(ordercopy);
    }
}
